package Notepad;


public class NotepadDemo {

	public static void main(String[] args) {
		SimpleNotepad sNote = new SimpleNotepad();
		SecureNotepad secNote = new SecureNotepad("opa");
		ElectronicSecuredNotepad el = new ElectronicSecuredNotepad("L");

		sNote.addPageText(1, "op op op 42op op");
		sNote.addPageText(3, "op op 324op op op");
		sNote.addPageText(0, "op op op op op");
		sNote.addPageText(2, "op op op op op");
		System.out.println(sNote.searchWord("op op"));		
		sNote.printAllPagesWithDigits();

		secNote.printAllPagesWithDigits();
		el.addPageText(2, "ko ne");

	}

}
